const app = getApp()
Component({
    data: { top: app.globalData.menuTop, },
    properties: {
        back: Boolean,
        color: String,
        fff: Boolean,
        home: Boolean
    },
    created() {
        console.log(this)
    },
    methods: {
        goBack() {
            wx.navigateBack()
        },
        goHome() {
            wx.reLaunch({
                url: '/pages/index/index',
            })
        }
    }
})